package com.taomu.app.zongchouhuli.moudle.mine.contract;

import android.widget.TextView;

import com.taomu.app.zongchouhuli.framework.BasePresenter;
import com.taomu.app.zongchouhuli.framework.BaseView;

public class ModifyPhoneConfirmContract {
    public interface Presenter extends BasePresenter {

        void isSmsCanClick(TextView tv1);

        void isNextCanClick(TextView tv1, TextView tv2);

        void getSmsCode(String phone);

        void submit(String phone,String code);

        void detch();
    }

    public interface View extends BaseView<Presenter> {

        void setSmsCanClick(int textcolor,boolean enable);

        void setNextCanClick(int bgcolor,boolean enable);

        void setBackTime(String text, boolean ennable);

        void setSendSmsSuccess(String msg);

        void submitSuccess(String msg);
    }
}
